// pragma_pack_test.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

#pragma pack(4)

__declspec(align(32)) 

class TestB
{
public:
	int aa;
	char a;
	short b;
	char c;
};

class TestC
{
public:
	char a;
	short b;
	char c;
};

int _tmain(int argc, _TCHAR* argv[])
{
	TestB b;
	TestC c;
	c.a = 'a';
	c.b = 2;
	c.c = 'c';
	int size = sizeof(b);
	int size2 = sizeof(c);

	return 0;
}

